package com.moto.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.moto.repository.UserSubjectRepository;
import com.moto.service.UserSubjectService;

@Service("userSubjectService")
public class UserSubjectServiceImpl implements UserSubjectService {

	@Autowired
	private UserSubjectRepository userSubjectRepository;

	@Override
	public int deleteByPostsId(String postsId) {
		return userSubjectRepository.deleteByPostsId(postsId);
	}
	
}
